package com.lanchetech.admin.service;

import com.lanchetech.bean.request.GoodsCardReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.AgreementSigningReq;
import com.lanchetech.bean.vo.AgreementSigningVo;
import com.lanchetech.entity.AgreementSigning;
import com.lanchetech.entity.GoodsCard;
import lombok.Synchronized;

import java.util.List;

public interface AdvancePaymentService {

    ResultData<BasePageResp<GoodsCard>> getGoodsCardList(GoodsCardReq req);

    BaseResp editGoodsCard(GoodsCard goodsCard);

    BaseResp deletedCard(Long id);

    BaseResp apply(AgreementSigning agreementSigning);

    BaseResp examine(Long id, Byte status, String reason);

    BaseResp deleteAgreement(Long id);

    ResultData<BasePageResp<AgreementSigningVo>> agreementList(AgreementSigningReq agreementSigningReq);

    void closeAgreementSigning(AgreementSigning agreementSigning);

    List<AgreementSigningVo> findAll(AgreementSigningReq req);
}
